/-app ...
/-app/layout ...
Application.html
TestPage.html
/-app/tests
TestCase.ts
TestPage.ts
Application.ts
/-boot
boot.css
boot.d.ts
early-0.js
early-1-with-knockout.js
/-imports
/-storage
/-tests
/-typings
stringUtils.ts
teapo.html
1
<div class=teapo-tests>
2
 
3
  
4
  
5
<!-- ko if: failed().length -->
6
  <div class=teapo-tests-failed>
7
    <div>
8
      Failed: 
9
      <span data-bind="text: failed().length"></span>
10
    </div>
11
    
12
<!-- ko foreach: failed -->
13
    <div data-bind="text: name"></div>
14
<!-- /ko -->
15
 
16
  </div>
17
<!-- /ko -->
18
 
19
  
20
  
21
<!-- ko if: succeeded().length -->
22
  <div class=teapo-tests-succeeded>
23
    <div>
24
      Succeeded:
25
      <span data-bind="text: succeeded().length"></span>
26
    </div>
27
    
28
<!-- ko foreach: succeeded -->
29
    <div data-bind="text: name"></div>
30
<!-- /ko -->
31
 
32
  </div>
33
<!-- /ko -->
34
  
35
  
36
  
37
<!-- ko if: notStarted().length && !failed().length && !succeeded().length -->
38
  <button data-bind="click: start"> Run tests  </button>
39
<!-- /ko -->
40
 
41
  
42
  
43
<!-- ko if: notStarted().length -->
44
  <div class=teapo-tests-notStarted>
45
    <div>
46
      Succeeded:
47
      <span data-bind="text: notStarted().length"></span>
48
    </div>
49
    
50
<!-- ko foreach: notStarted -->
51
    <div data-bind="text: name"></div>